<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="box">
    <p>你DVD包括vv从</p>
    <h3>打开女郎的</h3>
    <input id ="input" type="text">
</div>


<script type="text/html">
    window.onload = function () {

        // value ---input textarae
//        var input = document.getElementById("input");
//        input.value = "i am beautiful";
        var box = document.getElementById("box");
        //innerHTML 标签及标签内容   innerText：文本内容
        console.log(box.innerHTML);
        console.log(box.innerText);

    }
</script>

<script>
    console.log(112323);
    console.log(234);
    //动态跳转
//    window.location.href = "www.baidu.com";
    console.log(342);
    // document
    console.log("head",document.head);
    console.log("body",document.body);
    console.log("title",document.title);
    document.title = "dfsgfs";
    console.log("doc",document);
    console.log("docnodes",document.childNodes);
</script>
</body>
</html>